﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Customer.Master" AutoEventWireup="true"
    CodeBehind="CustomerOrder.aspx.cs" Inherits="EHTSaleManager.UICustomer.CustomerOrder" %>

<%@ Register Src="~/UIAdmin/Control/PaggingControl.ascx" TagName="PaggingControl"
    TagPrefix="EHT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="accountInfo">
        <div class="container">
            <h1>
                <asp:Label ID="lbMyStore" runat="server" Text="Order"></asp:Label>
            </h1>
            <p>
                <asp:Label ID="lbCategoryName" runat="server" Text="Category: "></asp:Label>
                <asp:DropDownList ID="ddlCategory" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged"
                    Width="250" Font-Bold="true">
                </asp:DropDownList>
            </p>
            <div class="products">
                <asp:Repeater ID="rpProducts" runat="server" OnItemCommand="rpProducts_ItemCommand">
                    <HeaderTemplate>
                        <table cellspacing="0" cellpadding="0" class="data-table">
                            <thead>
                                <tr>
                                    <th class="actions download" style="width:90px;">
                                    </th>
                                    <th>
                                        Product Name
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:LinkButton ID="lbtnAddToCart" runat="server" CommandArgument='<%#Eval("ProductID") %>'
                                    CssClass="action_add_cart" CommandName="addtocart">Add to cart</asp:LinkButton>
                            </td>
                            <td>
                                <asp:Label CssClass="productname" ID="lbProductName" runat="server" Text='  <%#Eval("ProductName") %>'></asp:Label>
                            </td>
                        </div>
                    </ItemTemplate>
                    <FooterTemplate>
                        </tbody> </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <p><EHT:PaggingControl ID="PaggingControl1" runat="server" PageURL="CustomerOrder.aspx"
                    PageSize="10" />
                
            </p>
            <a href="CustomerViewCart.aspx">View Cart</a>
        </div>
    </div>
</asp:Content>
